package cn.test;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class test1 {
    public static void main(String[] args) {
        try (
                Connection con = DBUtils.getCon();
                ){
            Statement s = con.createStatement();
            s.execute("create table t1(age int)");

            System.out.println("创建成功");
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        }
    }
}
